package com.swinboo.im.integration;

import com.huang.base.AbstractIntegrationFactoryBean;
import com.swinboo.im.client.EMUserClient;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author Swinboo
 * @date 2022-03-17 21:38
 * @description:
 */

@Component(value = EMUserIntegration.BEAN_NAME)
public class EMUserIntegration extends AbstractIntegrationFactoryBean<EMUserClient> {

    public static final String BEAN_NAME = "EMUserIntegration";

    @Resource
    private EMUserClient emUserClient;


    @Override
    protected EMUserClient getTarget() {
        return emUserClient;
    }

    @Override
    protected Class<EMUserClient> getTargetClass() {
        return EMUserClient.class;
    }
}
